package org.dromara.xyyw.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.xyyw.domain.XyywCouponUsageRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import java.util.Date;
import java.io.Serial;
import java.io.Serializable;

/**
 * 优惠券使用记录视图对象 xyyw_coupon_usage_record
 *
 * @author yf
 * @date 2024-05-29
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = XyywCouponUsageRecord.class)
public class XyywCouponUsageRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 使用记录ID
     */
    @ExcelProperty(value = "使用记录ID")
    private Integer usageId;

    /**
     * 优惠券ID
     */
    @ExcelProperty(value = "优惠券ID")
    private Integer couponId;

    /**
     * 折扣金额/减免金额
     */
    @ExcelProperty(value = "折扣金额/减免金额")
    private BigDecimal discountAmount;

    /**
     * 使用时间
     */
    @ExcelProperty(value = "使用时间")
    private Date usageTime;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Integer userId;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

}
